package com.itheima.service.db;

import com.itheima.domain.SmsFlashPromotionProductRelation;
import com.itheima.vo.PageBeanVo;

import java.util.List;

public interface SmsFlashPromotionProductRelationService {
    PageBeanVo findListByPage(Integer flashPromotionId, Integer flashPromotionSessionId, Integer pageNum, Integer papageSize);

    void create(List<SmsFlashPromotionProductRelation> relationList);

    void delete(Integer id);

    void update(Integer id, SmsFlashPromotionProductRelation smsFlashPromotionProductRelation);

    SmsFlashPromotionProductRelation findById(Integer id);

}
